package com.bankoption.controller.admin;

import com.bankoption.model.QueryField;
import com.jfinal.core.Controller;
import com.jfinal.json.FastJson;

public class QueryFieldController extends Controller {
	
	public void edit(){
		String dataType = getPara(0);
		FastJson fastJson = new FastJson();
		setAttr("queryFieldList",fastJson.toJson( QueryField.dao.findFileListByDataType(dataType)));
		render("edit.html");
	}
	
}
